namespace EyeOpen.Web.Mvc.Models
{
	using System;
	using System.ComponentModel.DataAnnotations;

	public class DateRangeAttribute : RangeAttribute
	{
		public DateRangeAttribute(string minimum)
			: this(minimum, DateTime.Now.ToShortDateString())
		{
		}

		public DateRangeAttribute(string minimum, string maximum)
			: base(typeof(DateTime), minimum, maximum)
		{
		}
	}
}